package com.seadragon.app.dms.model;


public class DmsConstants {
	public static final int MINIMUM_PASSWORD_LENGTH = 8;
	public static final String FIELD_NAME_FIRSTNAME = "firstName";
	public static final String FIELD_NAME_LASTNAME = "lastName";
	public static final String FIELD_NAME_ADDRESSLINE1 = "addressLine1";
	public static final String FIELD_NAME_CITY = "city";
	public static final String FIELD_NAME_STATE = "state";
	public static final String FIELD_NAME_ZIP = "zip";
	public static final String FIELD_NAME_USERNAME = "userName";
	public static final String FIELD_NAME_PASSWORD ="password";
	public static final String FIELD_NAME_EMAIL ="email";
	public static final String FIELD_NAME_CREDIT_CARD_TYPE ="type";
	public static final String FIELD_NAME_CREDIT_CARD_ACCOUNT_NUMBER ="accountNumber";
	public static final String FIELD_NAME_CREDIT_CARD_SECURITY_CODE ="securityCode";
	public static final String FIELD_NAME_CREDIT_CARD_EXPIRATION_DATE ="expirationDate";
	public static final String FIELD_NAME_CREDIT_CARD_NAME_APPEARED_ON_CARD ="nameAppearedOnCard";
	public static final String ERROR_MESSAGE_KEY_FIELD_REQUIRED = "field.required";
	public static final String ERROR_MESSAGE_KEY_FIELD_MIN_LENGTH = "field.min.length";
	public static final String DEFAULT_MESSAGE_KEY_INVALID_PASSWORD = "The password must be at least [" + MINIMUM_PASSWORD_LENGTH + "] characters in length.";
	public static final String ERROR_MESSAGE_KEY_INVALID_EMAIL = "invalid.email";
	public static final String DEFAULT_MESSAGE_KEY_INVALID_EMAIL = "The email address is not a valid email address.";
	public static final String SESSION_SCOPED_USER = "user";
	public static final String SESSION_SCOPED_ORDER = "order";
	
	public static final int CUSTOMER_STATUS_PENDING = 0;
	public static final int CUSTOMER_STATUS_ACTIVE = 1;
	
	// The 30 minutes to expire.
	public static final int PERIOD_TO_EXPIRE_RESET_PASSWORD_LINK = 30;
}
